import 'dart:typed_data';

import 'package:flutter/cupertino.dart';

class Utils {

  static Future<Uint8List> readFileBytes(AssetBundle assetBundle, String path) async {
    ByteData fileData = await assetBundle.load(path);
    Uint8List fileUnit8List = fileData.buffer.asUint8List();
    return fileUnit8List;
  }
}